package com.jingdianjichi.subject.application.converter;


import com.jingdianjichi.subject.application.dto.SubjectCategoryDTO;
import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryDTOConverter {

   SubjectCategoryDTOConverter Instance = Mappers.getMapper(SubjectCategoryDTOConverter.class);

   SubjectCategoryBO SubjectCategoryDTOConverterBO(SubjectCategoryDTO subjectCategoryDTO);

   List<SubjectCategoryDTO> subjectDtoList(List<SubjectCategoryBO> boList);

   SubjectCategoryDTO BOToDTOConverter(SubjectCategoryBO subjectCategoryBO);

}
